<template>
    <nav class="navbar">
        <ul class="nav-links">
            <li><router-link to="/">滨海校区</router-link></li>
            <li><router-link to="/CampusChashan">茶山校区</router-link></li>
            <li><router-link to="/CampusYueqing">乐清校区</router-link></li>
            <li><router-link to="/StudentSystem">学生管理系统</router-link></li>
            <!-- <li><router-link to="/Login">登录</router-link></li> -->
        </ul>
    </nav>
</template>

<script>
export default {
    name: 'Navbar'
};
</script>

<style scoped>
.navbar {
    display: flex;
    justify-content: space-around;

    padding: 10px 0;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;

    padding: 0 10px 0 10px;
    font-size: 16px;
    font-weight: bold;
}

.nav-links a {
    color: black;
}

.nav-links a:hover {
    color: #2acd58;
}

.nav-links li:nth-child(-n+3) {
    border-right: 2px black solid;
}
</style>